package org.codetranslators.compiler.tiger.abssyntree;

public class AssignExp extends Exp {
   
	private Var var;
	private Exp exp;
    
	public AssignExp(int p, Var v, Exp e) 
    {
    	pos = p;
    	var = v;
    	exp = e;
    }
    
    public Var getLValue()
    {
    	return var;
    }
    
    public Exp getRhs()
    {
    	return exp;
    }
    
}
